package com.zpark.resume.mapper;

import com.zpark.resume.entity.Education;

import java.util.List;

/**
 * @PackageName: com.zpark.resume.mapper
 * @ClassName: IEducationMapper
 * @Description:教育经历表持久层接口
 * @author: RZS
 * @date: 2023/6/1  9:12
 */
public interface IEducationMapper {

    // 根据cv_id查询Education
    List<Education> selectByCvId(Integer cvId);

    // 添加教育经历
    Integer insertEducation(Education education);

    // 修改教育经历
    Integer updateEducationById(Education education);

    // 删除教育经历
    Integer deleteEducationById(Integer id);
}
